feat(ci): generalize self-host-nightly to a discovered environment fleet#6809
Merged
Merged
Conversation
Replaces the single hardcoded SELF_HOST_URL self-host maintenance workflow with a discover -> maintenance matrix: a discover job parses the repo variable SELF_HOST_ENVIRONMENTS (comma-separated) into a JSON list, and a maintenance job fans out strategy.matrix.environment over it with a per-job environment: context, so each self-host instance supplies its own SELF_HOST_URL/INTERNAL_JOB_TOKEN via a GitHub environment while every job reads the same secret name. Falls back to a no-op (skipped) run when SELF_HOST_ENVIRONMENTS is unset, so a single-instance or not-yet-configured operator sees no behavior change. Closes #4899
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
loopover-ui | f4eae3c | Commit Preview URL Branch Preview URL |
Jul 17 2026, 07:36 AM |
Bundle ReportChanges will increase total bundle size by 3.05kB (0.04%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: loopover-uiAssets Changed:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6809 +/- ##
=======================================
Coverage 93.63% 93.63%
=======================================
Files 683 683
Lines 68148 68148
Branches 18703 18703
=======================================
Hits 63812 63812
Misses 3350 3350
Partials 986 986
Flags with carried forward coverage won't be shown. Click here to find out more. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SELF_HOST_URLself-host maintenance workflow with adiscover->maintenancematrix: adiscoverjob parses the repo variableSELF_HOST_ENVIRONMENTS(comma-separated) into a JSON list, and amaintenancejob fans outstrategy.matrix.environmentover it with a per-jobenvironment:context, so each self-host instance supplies its ownSELF_HOST_URL/INTERNAL_JOB_TOKENvia a GitHub environment while every job reads the same secret name.SELF_HOST_ENVIRONMENTSis unset, so a single-instance or not-yet-configured operator sees no behavior change.Closes #4899
Test plan
actionlintcleannpm run test:ci— full local gate green (one unrelated pre-existing flake inai-summaries.test.tsconfirmed via isolated rerun, not caused by this diff)